package org.se.scut.hibernate.dao.service;

import java.util.List;

import org.se.scut.hibernate.dao.DAOFactory;
import org.se.scut.hibernate.dao.PictureTypeDAO;
import org.se.scut.hibernate.dao.model.PictureType;
import org.se.scut.hibernate.dao.service.iface.IPictureTypeService;

public class PictureTypeImp extends BaseService implements IPictureTypeService {

	private PictureTypeDAO typeDAO = DAOFactory.getPictureTypeDAO();
	
	@Override
	public List<PictureType> getAllPictureTypes() {
		return typeDAO.getAllPictureTypes();
	}

	@Override
	public String getLastModifiedDate() {
		return typeDAO.getLastModifiedDate();
	}

}
